mmc: display mmc list information like mmc_legacy type
authorXu Ziyuan <[email protected]>
Sat, 23 Jul 2016 03:11:22 +0000 (11:11 +0800)
committerJaehoon Chung <[email protected]>
Fri, 5 Aug 2016 02:21:25 +0000 (11:21 +0900)
commit1bd4f92cdbc5f120c962611dfaf11ed01829d7cb
tree0c865457f34d830c98f474376b74effe7ecc8cd0
parent915ffa5213756568f6185d05cda2cb2f6050f974
mmc: display mmc list information like mmc_legacy type

It's nicer to see this:

=> mmc list
dwmmc@ff0c0000: 0
dwmmc@ff0f0000: 1 (eMMC)

than this:

=> mmc list
dwmmc@ff0c0000: 0dwmmc@ff0f0000: 1 (eMMC)

With the former, it's much clearer which mmc devices are on.

Signed-off-by: Ziyuan Xu <[email protected]>
Acked-by: Simon Glass <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Tested-by: Jaehoon Chung <[email protected]>
Signed-off-by: Jaehoon Chung <[email protected]>
drivers/mmc/mmc-uclass.c